package com.wavefront.mtl.parser.line;

import com.wavefront.obj.parser.LineParser;
import com.wavefront.obj.parser.MtlParser;

public class MaterialParser extends LineParser {

	String materialName = "";

	@Override
	public void parse(String[] words) {
		super.parse(words);
		materialName = words[1];
		MtlParser.currentMaterial = MtlParser.currentModel.createMaterial(materialName); 
	}

}
